<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh/Core/Mesh/TriMeshT.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a00419_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">TriMeshT.hh</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* ========================================================================= *</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *                               OpenMesh                                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *           Copyright (c) 2001-2015, RWTH-Aachen University                 *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *           Department of Computer Graphics and Multimedia                  *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *                          All rights reserved.                             *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *                            www.openmesh.org                               *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *---------------------------------------------------------------------------*</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * This file is part of OpenMesh.                                            *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *---------------------------------------------------------------------------*</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without        *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions        *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * are met:                                                                  *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright notice, *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    this list of conditions and the following disclaimer.                  *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright      *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    notice, this list of conditions and the following disclaimer in the    *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    documentation and/or other materials provided with the distribution.   *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * 3. Neither the name of the copyright holder nor the names of its          *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    contributors may be used to endorse or promote products derived from   *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    this software without specific prior written permission.               *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS       *</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A           *</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,  *</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,       *</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR        *</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF    *</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING      *</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS        *</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.              *</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * ========================================================================= */</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">//  CLASS TriMeshT</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#ifndef OPENMESH_TRIMESH_HH</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#define OPENMESH_TRIMESH_HH</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">//== INCLUDES =================================================================</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#include &lt;OpenMesh/Core/System/config.h&gt;</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#include &lt;OpenMesh/Core/Mesh/PolyMeshT.hh&gt;</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#include &lt;OpenMesh/Core/Mesh/Tags.hh&gt;</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">//== NAMESPACES ===============================================================</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">namespace </span><a class="code" href="a01233.html">OpenMesh</a> {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">//== CLASS DEFINITION =========================================================</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> Kernel&gt;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="a02489.html">   91</a></span>&#160;<span class="keyword">class </span><a class="code" href="a02489.html">TriMeshT</a> : <span class="keyword">public</span> <a class="code" href="a02389.html">PolyMeshT</a>&lt;Kernel&gt;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;{</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="comment">// self</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="a02489.html">TriMeshT&lt;Kernel&gt;</a>                      <a class="code" href="a02389.html">This</a>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="a02389.html">PolyMeshT&lt;Kernel&gt;</a>                     <a class="code" href="a02389.html">PolyMesh</a>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="keyword">static</span> constexpr <span class="keywordtype">bool</span> <a class="code" href="a02489.html#a5cc64ed78ada2d6a6726a1f22e757e81">is_polymesh</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="a02489.html#a3cf1765f81688edc7f12619538da9ffc">  104</a></span>&#160;  <span class="keyword">static</span> constexpr <span class="keywordtype">bool</span> <a class="code" href="a02489.html#a3cf1765f81688edc7f12619538da9ffc">is_trimesh</a>()  { <span class="keywordflow">return</span> <span class="keyword">true</span>;  }</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="a02489.html#abedd75b99c3aac3ba5765aa5ef3e4a44">  105</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="a02461.html">ConnectivityTag</a> = <a class="code" href="a02465.html">TriConnectivityTag</a>;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keyword">enum</span> { IsPolyMesh = 0 };</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keyword">enum</span> { IsTriMesh  = 1 };</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="comment">//--- items ---</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a15372f27edf521d8e9028e2abccae342">PolyMesh::Scalar</a>             <a class="code" href="a02389.html#a15372f27edf521d8e9028e2abccae342">Scalar</a>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#aed10fb4dfb536b53a5e20c8f2442eadf">PolyMesh::Point</a>              <a class="code" href="a02389.html#aed10fb4dfb536b53a5e20c8f2442eadf">Point</a>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a3570fd132d1ac589b380485cf59c9e0b">PolyMesh::Normal</a>             <a class="code" href="a02389.html#a3570fd132d1ac589b380485cf59c9e0b">Normal</a>;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#af0d8129bf1a819c468c6edcb13b5203b">PolyMesh::Color</a>              <a class="code" href="a02389.html#af0d8129bf1a819c468c6edcb13b5203b">Color</a>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#af6526fbc3e7f3a1e98a5543b9563b021">PolyMesh::TexCoord1D</a>         <a class="code" href="a02389.html#af6526fbc3e7f3a1e98a5543b9563b021">TexCoord1D</a>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a4ae59536e97b43444c4f1622c645ebaf">PolyMesh::TexCoord2D</a>         <a class="code" href="a02389.html#a4ae59536e97b43444c4f1622c645ebaf">TexCoord2D</a>;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a5ec24476d2513efe71ddd1255a2ca444">PolyMesh::TexCoord3D</a>         <a class="code" href="a02389.html#a5ec24476d2513efe71ddd1255a2ca444">TexCoord3D</a>;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a03e6fd1a2fc91d4144374fd28dfbecee">PolyMesh::Vertex</a>             <a class="code" href="a02389.html#a03e6fd1a2fc91d4144374fd28dfbecee">Vertex</a>;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a249b0c195a81eeab341f7f73089d157e">PolyMesh::Halfedge</a>           <a class="code" href="a02389.html#a249b0c195a81eeab341f7f73089d157e">Halfedge</a>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#ab2ccdc42b7b25cf35915d3639fc461b2">PolyMesh::Edge</a>               <a class="code" href="a02389.html#ab2ccdc42b7b25cf35915d3639fc461b2">Edge</a>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a71e1e8eaabeb24eca04237931b4bea26">PolyMesh::Face</a>               <a class="code" href="a02389.html#a71e1e8eaabeb24eca04237931b4bea26">Face</a>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="comment">//--- handles ---</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">PolyMesh::VertexHandle</a>       <a class="code" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">VertexHandle</a>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::HalfedgeHandle     HalfedgeHandle;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::EdgeHandle         EdgeHandle;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::FaceHandle         FaceHandle;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="comment">//--- iterators ---</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::VertexIter         VertexIter;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::ConstVertexIter    ConstVertexIter;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::EdgeIter           EdgeIter;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::ConstEdgeIter      ConstEdgeIter;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::FaceIter           FaceIter;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> PolyMesh::ConstFaceIter      ConstFaceIter;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="comment">//--- circulators ---</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#adc7d422e2ce13141e8291f7d29f7ecef">PolyMesh::VertexVertexIter</a>         <a class="code" href="a02389.html#adc7d422e2ce13141e8291f7d29f7ecef">VertexVertexIter</a>;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a6549eda743520c8a7aa3dfe6a37b2468">PolyMesh::VertexOHalfedgeIter</a>      <a class="code" href="a02389.html#a6549eda743520c8a7aa3dfe6a37b2468">VertexOHalfedgeIter</a>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a437621f3901a93d0ebf8cdceac8e2939">PolyMesh::VertexIHalfedgeIter</a>      <a class="code" href="a02389.html#a437621f3901a93d0ebf8cdceac8e2939">VertexIHalfedgeIter</a>;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a68dd0d2773f837cbfb525d7208dedde0">PolyMesh::VertexEdgeIter</a>           <a class="code" href="a02389.html#a68dd0d2773f837cbfb525d7208dedde0">VertexEdgeIter</a>;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a1ebe8b94ca30db3af44c809ab3ee7247">PolyMesh::VertexFaceIter</a>           <a class="code" href="a02389.html#a1ebe8b94ca30db3af44c809ab3ee7247">VertexFaceIter</a>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a3c65ec045ac0126b3ea7264cee26aa1b">PolyMesh::FaceVertexIter</a>           <a class="code" href="a02389.html#a3c65ec045ac0126b3ea7264cee26aa1b">FaceVertexIter</a>;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#aeca99c6cd952038e80b37c848035af73">PolyMesh::FaceHalfedgeIter</a>         <a class="code" href="a02389.html#aeca99c6cd952038e80b37c848035af73">FaceHalfedgeIter</a>;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a04a30000943150f98db373a3317760af">PolyMesh::FaceEdgeIter</a>             <a class="code" href="a02389.html#a04a30000943150f98db373a3317760af">FaceEdgeIter</a>;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a98618ca3fd3eec347bb5b02410a5e1e6">PolyMesh::FaceFaceIter</a>             <a class="code" href="a02389.html#a98618ca3fd3eec347bb5b02410a5e1e6">FaceFaceIter</a>;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a17a73f876343905c8b37b947e9152ac8">PolyMesh::ConstVertexVertexIter</a>    <a class="code" href="a02389.html#a17a73f876343905c8b37b947e9152ac8">ConstVertexVertexIter</a>;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#acf4b52db4b0198a91a02c06003623bfb">PolyMesh::ConstVertexOHalfedgeIter</a> <a class="code" href="a02389.html#acf4b52db4b0198a91a02c06003623bfb">ConstVertexOHalfedgeIter</a>;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a7221db878118b37611454a13f1754a08">PolyMesh::ConstVertexIHalfedgeIter</a> <a class="code" href="a02389.html#a7221db878118b37611454a13f1754a08">ConstVertexIHalfedgeIter</a>;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a9ccd0ce4fff127b13eb80fafefda0d0a">PolyMesh::ConstVertexEdgeIter</a>      <a class="code" href="a02389.html#a9ccd0ce4fff127b13eb80fafefda0d0a">ConstVertexEdgeIter</a>;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a61167f0a130e599b909cc8629a6dca2a">PolyMesh::ConstVertexFaceIter</a>      <a class="code" href="a02389.html#a61167f0a130e599b909cc8629a6dca2a">ConstVertexFaceIter</a>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a23b20f8208bae0aa1b344cac48c1f635">PolyMesh::ConstFaceVertexIter</a>      <a class="code" href="a02389.html#a23b20f8208bae0aa1b344cac48c1f635">ConstFaceVertexIter</a>;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a1b0729c26d7cf8f123c344a3b81d353c">PolyMesh::ConstFaceHalfedgeIter</a>    <a class="code" href="a02389.html#a1b0729c26d7cf8f123c344a3b81d353c">ConstFaceHalfedgeIter</a>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#a5e15960d27e6d40646260109f5910b5b">PolyMesh::ConstFaceEdgeIter</a>        <a class="code" href="a02389.html#a5e15960d27e6d40646260109f5910b5b">ConstFaceEdgeIter</a>;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="a02389.html#af081cbe692a0563c1ce08735f4b3491e">PolyMesh::ConstFaceFaceIter</a>        <a class="code" href="a02389.html#af081cbe692a0563c1ce08735f4b3491e">ConstFaceFaceIter</a>;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="comment">// --- constructor/destructor</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="a02489.html#a13a27eb1994c2e288f404f5305834c3e">  168</a></span>&#160;  <a class="code" href="a02489.html#a13a27eb1994c2e288f404f5305834c3e">TriMeshT</a>() : PolyMesh() {}</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02489.html#a13a27eb1994c2e288f404f5305834c3e">TriMeshT</a>(PolyMesh rhs) : PolyMesh((rhs.triangulate(), rhs))</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  {</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;  }</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="a02489.html#a9e84b7ff5a5dabd8136a1bbb72a54399">  174</a></span>&#160;  <span class="keyword">virtual</span> <a class="code" href="a02489.html#a9e84b7ff5a5dabd8136a1bbb72a54399">~TriMeshT</a>() {}</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  <span class="comment">//--- halfedge collapse / vertex split ---</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="a02489.html#a4868b772cb7a9d7bb8d94854dfb82868">  218</a></span>&#160;  <span class="keyword">inline</span> HalfedgeHandle <a class="code" href="a02489.html#a4868b772cb7a9d7bb8d94854dfb82868">vertex_split</a>(Point _v0_point,  VertexHandle _v1,</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;                                     VertexHandle _vl, VertexHandle _vr)</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;  { <span class="keywordflow">return</span> PolyMesh::vertex_split(this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(_v0_point), _v1, _vl, _vr); }</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="a02489.html#ac58e0af86ecd0bbc5e821ecd8c8beaff">  262</a></span>&#160;  <span class="keyword">inline</span> HalfedgeHandle <a class="code" href="a02489.html#ac58e0af86ecd0bbc5e821ecd8c8beaff">vertex_split</a>(VertexHandle _v0, VertexHandle _v1,</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;                                     VertexHandle _vl, VertexHandle _vr)</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;  { <span class="keywordflow">return</span> PolyMesh::vertex_split(_v0, _v1, _vl, _vr); }</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">  275</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">split</a>(EdgeHandle _eh, <span class="keyword">const</span> Point&amp; _p)</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;  {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <span class="comment">//Do not call PolyMeshT function below as this does the wrong operation</span></div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    <span class="keyword">const</span> <a class="code" href="a02405.html">SmartVertexHandle</a> vh = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(_p); Kernel::split(_eh, vh); <span class="keywordflow">return</span> vh;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;  }</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="a02489.html#af27eab7f97150e60d70e43a96ba1e6a4">  289</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02489.html#af27eab7f97150e60d70e43a96ba1e6a4">split_copy</a>(EdgeHandle _eh, <span class="keyword">const</span> Point&amp; _p)</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;  {</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="comment">//Do not call PolyMeshT function below as this does the wrong operation</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <span class="keyword">const</span> <a class="code" href="a02405.html">SmartVertexHandle</a> vh = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(_p); Kernel::split_copy(_eh, vh); <span class="keywordflow">return</span> vh;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  }</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="a02489.html#a00a743cc15f3ff35e41c98090e0f91c8">  302</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a02489.html#a00a743cc15f3ff35e41c98090e0f91c8">split</a>(EdgeHandle _eh, VertexHandle _vh)</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;  {</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="comment">//Do not call PolyMeshT function below as this does the wrong operation</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    Kernel::split(_eh, _vh);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  }</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="a02489.html#ae1dcb76ca7b18678552bb0b65dff3a2c">  315</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a02489.html#ae1dcb76ca7b18678552bb0b65dff3a2c">split_copy</a>(EdgeHandle _eh, VertexHandle _vh)</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;  {</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <span class="comment">//Do not call PolyMeshT function below as this does the wrong operation</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    Kernel::split_copy(_eh, _vh);</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;  }</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="a02489.html#a6eb3942a6c87da48e0691d669e764edf">  330</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02489.html#a6eb3942a6c87da48e0691d669e764edf">split</a>(FaceHandle _fh, <span class="keyword">const</span> Point&amp; _p)</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;  { <span class="keyword">const</span> <a class="code" href="a02405.html">SmartVertexHandle</a> vh = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(_p); <a class="code" href="a02389.html#af0bd67ac6c4c3fa8707191dcf28b7649">PolyMesh::split</a>(_fh, vh); <span class="keywordflow">return</span> vh; }</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="a02489.html#ab43c61825216c530da6959a1a027a9e1">  342</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02489.html#ab43c61825216c530da6959a1a027a9e1">split_copy</a>(FaceHandle _fh, <span class="keyword">const</span> Point&amp; _p)</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;  { <span class="keyword">const</span> <a class="code" href="a02405.html">SmartVertexHandle</a> vh = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(_p);  PolyMesh::split_copy(_fh, vh); <span class="keywordflow">return</span> vh; }</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="a02489.html#a08fd303acc36c2fc4e6bbb1e96b49dd7">  350</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a02489.html#a08fd303acc36c2fc4e6bbb1e96b49dd7">split</a>(FaceHandle _fh)</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;  {</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    <span class="comment">// Collect halfedges of face</span></div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    HalfedgeHandle he0 = this-&gt;halfedge_handle(_fh);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    HalfedgeHandle he1 = this-&gt;next_halfedge_handle(he0);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    HalfedgeHandle he2 = this-&gt;next_halfedge_handle(he1);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    EdgeHandle eh0 = this-&gt;edge_handle(he0);</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    EdgeHandle eh1 = this-&gt;edge_handle(he1);</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    EdgeHandle eh2 = this-&gt;edge_handle(he2);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="comment">// Collect points of face</span></div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    VertexHandle p0 = this-&gt;to_vertex_handle(he0);</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    VertexHandle p1 = this-&gt;to_vertex_handle(he1);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    VertexHandle p2 = this-&gt;to_vertex_handle(he2);</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    <span class="comment">// Calculate midpoint coordinates</span></div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    <span class="keyword">const</span> Point new0 = (this-&gt;point(p0) + this-&gt;point(p2)) * <span class="keyword">static_cast&lt;</span>typename <a class="code" href="a02621.html">vector_traits&lt;Point&gt;::value_type</a> <span class="keyword">&gt;</span>(0.5);</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <span class="keyword">const</span> Point new1 = (this-&gt;point(p0) + this-&gt;point(p1)) * <span class="keyword">static_cast&lt;</span>typename <a class="code" href="a02621.html">vector_traits&lt;Point&gt;::value_type</a> <span class="keyword">&gt;</span>(0.5);</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    <span class="keyword">const</span> Point new2 = (this-&gt;point(p1) + this-&gt;point(p2)) * <span class="keyword">static_cast&lt;</span>typename <a class="code" href="a02621.html">vector_traits&lt;Point&gt;::value_type</a> <span class="keyword">&gt;</span>(0.5);</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    <span class="comment">// Add vertices at midpoint coordinates</span></div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    VertexHandle v0 = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(new0);</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    VertexHandle v1 = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(new1);</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    VertexHandle v2 = this-&gt;<a class="code" href="a02389.html#a5338335bff53d9b88afc14634c456908">add_vertex</a>(new2);</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> split0 = !this-&gt;is_boundary(eh0);</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> split1 = !this-&gt;is_boundary(eh1);</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> split2 = !this-&gt;is_boundary(eh2);</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    <span class="comment">// delete original face</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    this-&gt;delete_face(_fh);</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="comment">// split boundary edges of deleted face ( if not boundary )</span></div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    <span class="keywordflow">if</span> ( split0 ) {</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;      this-&gt;<a class="code" href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">split</a>(eh0,v0);</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    }</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;    <span class="keywordflow">if</span> ( split1 ) {</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;      this-&gt;<a class="code" href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">split</a>(eh1,v1);</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    }</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;    <span class="keywordflow">if</span> ( split2 ) {</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;      this-&gt;<a class="code" href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">split</a>(eh2,v2);</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    }</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <span class="comment">// Retriangulate</span></div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    this-&gt;add_face(v0 , p0, v1);</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    this-&gt;add_face(p2, v0 , v2);</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    this-&gt;add_face(v2,v1,p1);</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    this-&gt;add_face(v2 , v0, v1);</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;  }</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="a02489.html#a1d3163398fc453736b59e8a3dacf7e45">  410</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a02489.html#a1d3163398fc453736b59e8a3dacf7e45">split</a>(FaceHandle _fh, VertexHandle _vh)</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;  { <a class="code" href="a02389.html#af0bd67ac6c4c3fa8707191dcf28b7649">PolyMesh::split</a>(_fh, _vh); }</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="a02489.html#aa2b78682dc013e4c8480a3cab28bb766">  420</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a02489.html#aa2b78682dc013e4c8480a3cab28bb766">split_copy</a>(FaceHandle _fh, VertexHandle _vh)</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;  { PolyMesh::split_copy(_fh, _vh); }</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="a02489.html#a68b11fc780cd30e73380843bc6769ed7">  427</a></span>&#160;  Scalar <a class="code" href="a02489.html#a68b11fc780cd30e73380843bc6769ed7">calc_face_area</a>(FaceHandle _fh)<span class="keyword"> const</span></div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keyword">const</span> HalfedgeHandle heh = this-&gt;halfedge_handle(_fh);</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keywordflow">return</span> this-&gt;<a class="code" href="a02389.html#a4babf1e8370fcb01b07596819ac167dc">calc_sector_area</a>(heh);</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;  }</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;  </div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;  Normal <a class="code" href="a02489.html#a34d9ca17136124593dcc494cfaccdfe5">calc_face_normal</a>(FaceHandle _fh) <span class="keyword">const</span>;</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;};</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;} <span class="comment">// namespace OpenMesh</span></div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="preprocessor">#if defined(OM_INCLUDE_TEMPLATES) &amp;&amp; !defined(OPENMESH_TRIMESH_C)</span></div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<span class="preprocessor">#define OPENMESH_TRIMESH_TEMPLATES</span></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="preprocessor">#include &quot;TriMeshT_impl.hh&quot;</span></div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="preprocessor">#endif // OPENMESH_TRIMESH_HH defined</span></div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="comment">//=============================================================================</span></div><div class="ttc" id="a02489_html_a1d3163398fc453736b59e8a3dacf7e45"><div class="ttname"><a href="a02489.html#a1d3163398fc453736b59e8a3dacf7e45">OpenMesh::TriMeshT::split</a></div><div class="ttdeci">void split(FaceHandle _fh, VertexHandle _vh)</div><div class="ttdoc">Face split (= 1-to-3 split, calls corresponding PolyMeshT function). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:410</div></div>
<div class="ttc" id="a02465_html"><div class="ttname"><a href="a02465.html">OpenMesh::TriConnectivityTag</a></div><div class="ttdoc">Connectivity tag indicating that the tagged mesh has triangle connectivity. </div><div class="ttdef"><b>Definition:</b> Tags.hh:49</div></div>
<div class="ttc" id="a02389_html_a71e1e8eaabeb24eca04237931b4bea26"><div class="ttname"><a href="a02389.html#a71e1e8eaabeb24eca04237931b4bea26">OpenMesh::PolyMeshT::Face</a></div><div class="ttdeci">Kernel::Face Face</div><div class="ttdoc">Face type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:130</div></div>
<div class="ttc" id="a02389_html_a15372f27edf521d8e9028e2abccae342"><div class="ttname"><a href="a02389.html#a15372f27edf521d8e9028e2abccae342">OpenMesh::PolyMeshT::Scalar</a></div><div class="ttdeci">Kernel::Scalar Scalar</div><div class="ttdoc">Scalar type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:110</div></div>
<div class="ttc" id="a02489_html_a9e84b7ff5a5dabd8136a1bbb72a54399"><div class="ttname"><a href="a02489.html#a9e84b7ff5a5dabd8136a1bbb72a54399">OpenMesh::TriMeshT::~TriMeshT</a></div><div class="ttdeci">virtual ~TriMeshT()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:174</div></div>
<div class="ttc" id="a02389_html_a9ccd0ce4fff127b13eb80fafefda0d0a"><div class="ttname"><a href="a02389.html#a9ccd0ce4fff127b13eb80fafefda0d0a">OpenMesh::PolyMeshT::ConstVertexEdgeIter</a></div><div class="ttdeci">Kernel::ConstVertexEdgeIter ConstVertexEdgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:175</div></div>
<div class="ttc" id="a02489_html_aa2b78682dc013e4c8480a3cab28bb766"><div class="ttname"><a href="a02489.html#aa2b78682dc013e4c8480a3cab28bb766">OpenMesh::TriMeshT::split_copy</a></div><div class="ttdeci">void split_copy(FaceHandle _fh, VertexHandle _vh)</div><div class="ttdoc">Face split (= 1-to-3 split, calls corresponding PolyMeshT function). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:420</div></div>
<div class="ttc" id="a02389_html_a249b0c195a81eeab341f7f73089d157e"><div class="ttname"><a href="a02389.html#a249b0c195a81eeab341f7f73089d157e">OpenMesh::PolyMeshT::Halfedge</a></div><div class="ttdeci">Kernel::Halfedge Halfedge</div><div class="ttdoc">Halfedge type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:126</div></div>
<div class="ttc" id="a02489_html_a68b11fc780cd30e73380843bc6769ed7"><div class="ttname"><a href="a02489.html#a68b11fc780cd30e73380843bc6769ed7">OpenMesh::TriMeshT::calc_face_area</a></div><div class="ttdeci">Scalar calc_face_area(FaceHandle _fh) const</div><div class="ttdoc">Calculates the area of a face. </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:427</div></div>
<div class="ttc" id="a02489_html_a5cc64ed78ada2d6a6726a1f22e757e81"><div class="ttname"><a href="a02489.html#a5cc64ed78ada2d6a6726a1f22e757e81">OpenMesh::TriMeshT::is_polymesh</a></div><div class="ttdeci">static constexpr bool is_polymesh()</div><div class="ttdoc">Determine whether this is a PolyMeshT or TriMeshT (This function does not check the per face vertex c...</div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:103</div></div>
<div class="ttc" id="a02389_html_a437621f3901a93d0ebf8cdceac8e2939"><div class="ttname"><a href="a02389.html#a437621f3901a93d0ebf8cdceac8e2939">OpenMesh::PolyMeshT::VertexIHalfedgeIter</a></div><div class="ttdeci">Kernel::VertexIHalfedgeIter VertexIHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:164</div></div>
<div class="ttc" id="a02389_html_a4ae59536e97b43444c4f1622c645ebaf"><div class="ttname"><a href="a02389.html#a4ae59536e97b43444c4f1622c645ebaf">OpenMesh::PolyMeshT::TexCoord2D</a></div><div class="ttdeci">Kernel::TexCoord2D TexCoord2D</div><div class="ttdoc">TexCoord2D type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:120</div></div>
<div class="ttc" id="a02389_html_a23b20f8208bae0aa1b344cac48c1f635"><div class="ttname"><a href="a02389.html#a23b20f8208bae0aa1b344cac48c1f635">OpenMesh::PolyMeshT::ConstFaceVertexIter</a></div><div class="ttdeci">Kernel::ConstFaceVertexIter ConstFaceVertexIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:177</div></div>
<div class="ttc" id="a02389_html_a4babf1e8370fcb01b07596819ac167dc"><div class="ttname"><a href="a02389.html#a4babf1e8370fcb01b07596819ac167dc">OpenMesh::PolyMeshT::calc_sector_area</a></div><div class="ttdeci">Scalar calc_sector_area(HalfedgeHandle _in_heh) const</div><div class="ttdoc">calculates the area of the face sector defined by the angle &lt;(_in_heh,next_halfedge(_in_heh)) NOTE: s...</div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:527</div></div>
<div class="ttc" id="a02389_html_af0bd67ac6c4c3fa8707191dcf28b7649"><div class="ttname"><a href="a02389.html#af0bd67ac6c4c3fa8707191dcf28b7649">OpenMesh::PolyMeshT::split</a></div><div class="ttdeci">void split(FaceHandle _fh, const Point &amp;_p)</div><div class="ttdoc">Face split (= 1-to-n split) </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:592</div></div>
<div class="ttc" id="a02389_html_a6549eda743520c8a7aa3dfe6a37b2468"><div class="ttname"><a href="a02389.html#a6549eda743520c8a7aa3dfe6a37b2468">OpenMesh::PolyMeshT::VertexOHalfedgeIter</a></div><div class="ttdeci">Kernel::VertexOHalfedgeIter VertexOHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:163</div></div>
<div class="ttc" id="a02489_html_a6eb3942a6c87da48e0691d669e764edf"><div class="ttname"><a href="a02489.html#a6eb3942a6c87da48e0691d669e764edf">OpenMesh::TriMeshT::split</a></div><div class="ttdeci">SmartVertexHandle split(FaceHandle _fh, const Point &amp;_p)</div><div class="ttdoc">Face split (= 1-to-3 split, calls corresponding PolyMeshT function). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:330</div></div>
<div class="ttc" id="a02389_html_ab2ccdc42b7b25cf35915d3639fc461b2"><div class="ttname"><a href="a02389.html#ab2ccdc42b7b25cf35915d3639fc461b2">OpenMesh::PolyMeshT::Edge</a></div><div class="ttdeci">Kernel::Edge Edge</div><div class="ttdoc">Edge type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:128</div></div>
<div class="ttc" id="a02389_html_a1ebe8b94ca30db3af44c809ab3ee7247"><div class="ttname"><a href="a02389.html#a1ebe8b94ca30db3af44c809ab3ee7247">OpenMesh::PolyMeshT::VertexFaceIter</a></div><div class="ttdeci">Kernel::VertexFaceIter VertexFaceIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:166</div></div>
<div class="ttc" id="a02621_html"><div class="ttname"><a href="a02621.html">OpenMesh::vector_traits</a></div><div class="ttdoc">Helper class providing information about a vector type. </div><div class="ttdef"><b>Definition:</b> vector_traits.hh:88</div></div>
<div class="ttc" id="a02389_html_a1b0729c26d7cf8f123c344a3b81d353c"><div class="ttname"><a href="a02389.html#a1b0729c26d7cf8f123c344a3b81d353c">OpenMesh::PolyMeshT::ConstFaceHalfedgeIter</a></div><div class="ttdeci">Kernel::ConstFaceHalfedgeIter ConstFaceHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:178</div></div>
<div class="ttc" id="a02389_html_af6526fbc3e7f3a1e98a5543b9563b021"><div class="ttname"><a href="a02389.html#af6526fbc3e7f3a1e98a5543b9563b021">OpenMesh::PolyMeshT::TexCoord1D</a></div><div class="ttdeci">Kernel::TexCoord1D TexCoord1D</div><div class="ttdoc">TexCoord1D type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:118</div></div>
<div class="ttc" id="a02389_html_adc7d422e2ce13141e8291f7d29f7ecef"><div class="ttname"><a href="a02389.html#adc7d422e2ce13141e8291f7d29f7ecef">OpenMesh::PolyMeshT::VertexVertexIter</a></div><div class="ttdeci">Kernel::VertexVertexIter VertexVertexIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:162</div></div>
<div class="ttc" id="a02489_html_a4868b772cb7a9d7bb8d94854dfb82868"><div class="ttname"><a href="a02489.html#a4868b772cb7a9d7bb8d94854dfb82868">OpenMesh::TriMeshT::vertex_split</a></div><div class="ttdeci">HalfedgeHandle vertex_split(Point _v0_point, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr)</div><div class="ttdoc">Vertex Split: inverse operation to collapse(). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:218</div></div>
<div class="ttc" id="a02389_html_acf4b52db4b0198a91a02c06003623bfb"><div class="ttname"><a href="a02389.html#acf4b52db4b0198a91a02c06003623bfb">OpenMesh::PolyMeshT::ConstVertexOHalfedgeIter</a></div><div class="ttdeci">Kernel::ConstVertexOHalfedgeIter ConstVertexOHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:173</div></div>
<div class="ttc" id="a02389_html_a03e6fd1a2fc91d4144374fd28dfbecee"><div class="ttname"><a href="a02389.html#a03e6fd1a2fc91d4144374fd28dfbecee">OpenMesh::PolyMeshT::Vertex</a></div><div class="ttdeci">Kernel::Vertex Vertex</div><div class="ttdoc">Vertex type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:124</div></div>
<div class="ttc" id="a02389_html_a3570fd132d1ac589b380485cf59c9e0b"><div class="ttname"><a href="a02389.html#a3570fd132d1ac589b380485cf59c9e0b">OpenMesh::PolyMeshT::Normal</a></div><div class="ttdeci">Kernel::Normal Normal</div><div class="ttdoc">Normal type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:114</div></div>
<div class="ttc" id="a02389_html_a5ec24476d2513efe71ddd1255a2ca444"><div class="ttname"><a href="a02389.html#a5ec24476d2513efe71ddd1255a2ca444">OpenMesh::PolyMeshT::TexCoord3D</a></div><div class="ttdeci">Kernel::TexCoord3D TexCoord3D</div><div class="ttdoc">TexCoord3D type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:122</div></div>
<div class="ttc" id="a02389_html_a61167f0a130e599b909cc8629a6dca2a"><div class="ttname"><a href="a02389.html#a61167f0a130e599b909cc8629a6dca2a">OpenMesh::PolyMeshT::ConstVertexFaceIter</a></div><div class="ttdeci">Kernel::ConstVertexFaceIter ConstVertexFaceIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:176</div></div>
<div class="ttc" id="a02389_html_a5e15960d27e6d40646260109f5910b5b"><div class="ttname"><a href="a02389.html#a5e15960d27e6d40646260109f5910b5b">OpenMesh::PolyMeshT::ConstFaceEdgeIter</a></div><div class="ttdeci">Kernel::ConstFaceEdgeIter ConstFaceEdgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:179</div></div>
<div class="ttc" id="a02461_html"><div class="ttname"><a href="a02461.html">OpenMesh::PolyConnectivityTag</a></div><div class="ttdoc">Connectivity tag indicating that the tagged mesh has polygon connectivity. </div><div class="ttdef"><b>Definition:</b> Tags.hh:47</div></div>
<div class="ttc" id="a02389_html_aeca99c6cd952038e80b37c848035af73"><div class="ttname"><a href="a02389.html#aeca99c6cd952038e80b37c848035af73">OpenMesh::PolyMeshT::FaceHalfedgeIter</a></div><div class="ttdeci">Kernel::FaceHalfedgeIter FaceHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:168</div></div>
<div class="ttc" id="a02389_html_a3c65ec045ac0126b3ea7264cee26aa1b"><div class="ttname"><a href="a02389.html#a3c65ec045ac0126b3ea7264cee26aa1b">OpenMesh::PolyMeshT::FaceVertexIter</a></div><div class="ttdeci">Kernel::FaceVertexIter FaceVertexIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:167</div></div>
<div class="ttc" id="a02389_html_a17a73f876343905c8b37b947e9152ac8"><div class="ttname"><a href="a02389.html#a17a73f876343905c8b37b947e9152ac8">OpenMesh::PolyMeshT::ConstVertexVertexIter</a></div><div class="ttdeci">Kernel::ConstVertexVertexIter ConstVertexVertexIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:172</div></div>
<div class="ttc" id="a02389_html_a5338335bff53d9b88afc14634c456908"><div class="ttname"><a href="a02389.html#a5338335bff53d9b88afc14634c456908">OpenMesh::PolyMeshT::add_vertex</a></div><div class="ttdeci">SmartVertexHandle add_vertex(const Point &amp;_p)</div><div class="ttdoc">Alias for new_vertex(const Point&amp;). </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:235</div></div>
<div class="ttc" id="a02489_html_a34d9ca17136124593dcc494cfaccdfe5"><div class="ttname"><a href="a02489.html#a34d9ca17136124593dcc494cfaccdfe5">OpenMesh::TriMeshT::calc_face_normal</a></div><div class="ttdeci">Normal calc_face_normal(FaceHandle _fh) const</div><div class="ttdoc">Calculate normal vector for face _fh (specialized for TriMesh). </div><div class="ttdef"><b>Definition:</b> TriMeshT_impl.hh:74</div></div>
<div class="ttc" id="a02489_html_ab43c61825216c530da6959a1a027a9e1"><div class="ttname"><a href="a02489.html#ab43c61825216c530da6959a1a027a9e1">OpenMesh::TriMeshT::split_copy</a></div><div class="ttdeci">SmartVertexHandle split_copy(FaceHandle _fh, const Point &amp;_p)</div><div class="ttdoc">Face split (= 1-to-3 split, calls corresponding PolyMeshT function). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:342</div></div>
<div class="ttc" id="a02389_html_a04a30000943150f98db373a3317760af"><div class="ttname"><a href="a02389.html#a04a30000943150f98db373a3317760af">OpenMesh::PolyMeshT::FaceEdgeIter</a></div><div class="ttdeci">Kernel::FaceEdgeIter FaceEdgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:169</div></div>
<div class="ttc" id="a02489_html_ae1dcb76ca7b18678552bb0b65dff3a2c"><div class="ttname"><a href="a02489.html#ae1dcb76ca7b18678552bb0b65dff3a2c">OpenMesh::TriMeshT::split_copy</a></div><div class="ttdeci">void split_copy(EdgeHandle _eh, VertexHandle _vh)</div><div class="ttdoc">Edge split (= 2-to-4 split) </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:315</div></div>
<div class="ttc" id="a02489_html_ac58e0af86ecd0bbc5e821ecd8c8beaff"><div class="ttname"><a href="a02489.html#ac58e0af86ecd0bbc5e821ecd8c8beaff">OpenMesh::TriMeshT::vertex_split</a></div><div class="ttdeci">HalfedgeHandle vertex_split(VertexHandle _v0, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr)</div><div class="ttdoc">Vertex Split: inverse operation to collapse(). </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:262</div></div>
<div class="ttc" id="a02405_html"><div class="ttname"><a href="a02405.html">OpenMesh::SmartVertexHandle</a></div><div class="ttdoc">Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access t...</div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:84</div></div>
<div class="ttc" id="a02489_html_a3cf1765f81688edc7f12619538da9ffc"><div class="ttname"><a href="a02489.html#a3cf1765f81688edc7f12619538da9ffc">OpenMesh::TriMeshT::is_trimesh</a></div><div class="ttdeci">static constexpr bool is_trimesh()</div><div class="ttdoc">Determine whether this is a PolyMeshT or TriMeshT (This function does not check the per face vertex c...</div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:104</div></div>
<div class="ttc" id="a02389_html_a98618ca3fd3eec347bb5b02410a5e1e6"><div class="ttname"><a href="a02389.html#a98618ca3fd3eec347bb5b02410a5e1e6">OpenMesh::PolyMeshT::FaceFaceIter</a></div><div class="ttdeci">Kernel::FaceFaceIter FaceFaceIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:170</div></div>
<div class="ttc" id="a02389_html_af081cbe692a0563c1ce08735f4b3491e"><div class="ttname"><a href="a02389.html#af081cbe692a0563c1ce08735f4b3491e">OpenMesh::PolyMeshT::ConstFaceFaceIter</a></div><div class="ttdeci">Kernel::ConstFaceFaceIter ConstFaceFaceIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:180</div></div>
<div class="ttc" id="a02489_html_a46de9085ad6cebce97204d3263c2fc02"><div class="ttname"><a href="a02489.html#a46de9085ad6cebce97204d3263c2fc02">OpenMesh::TriMeshT::split</a></div><div class="ttdeci">SmartVertexHandle split(EdgeHandle _eh, const Point &amp;_p)</div><div class="ttdoc">Edge split (= 2-to-4 split) </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:275</div></div>
<div class="ttc" id="a02489_html_a00a743cc15f3ff35e41c98090e0f91c8"><div class="ttname"><a href="a02489.html#a00a743cc15f3ff35e41c98090e0f91c8">OpenMesh::TriMeshT::split</a></div><div class="ttdeci">void split(EdgeHandle _eh, VertexHandle _vh)</div><div class="ttdoc">Edge split (= 2-to-4 split) </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:302</div></div>
<div class="ttc" id="a02389_html_a68dd0d2773f837cbfb525d7208dedde0"><div class="ttname"><a href="a02389.html#a68dd0d2773f837cbfb525d7208dedde0">OpenMesh::PolyMeshT::VertexEdgeIter</a></div><div class="ttdeci">Kernel::VertexEdgeIter VertexEdgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:165</div></div>
<div class="ttc" id="a02389_html_aed10fb4dfb536b53a5e20c8f2442eadf"><div class="ttname"><a href="a02389.html#aed10fb4dfb536b53a5e20c8f2442eadf">OpenMesh::PolyMeshT::Point</a></div><div class="ttdeci">Kernel::Point Point</div><div class="ttdoc">Coordinate type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:112</div></div>
<div class="ttc" id="a02389_html_a7221db878118b37611454a13f1754a08"><div class="ttname"><a href="a02389.html#a7221db878118b37611454a13f1754a08">OpenMesh::PolyMeshT::ConstVertexIHalfedgeIter</a></div><div class="ttdeci">Kernel::ConstVertexIHalfedgeIter ConstVertexIHalfedgeIter</div><div class="ttdoc">Circulator. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:174</div></div>
<div class="ttc" id="a01233_html"><div class="ttname"><a href="a01233.html">OpenMesh</a></div><div class="ttdoc">Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...</div><div class="ttdef"><b>Definition:</b> MeshItems.hh:59</div></div>
<div class="ttc" id="a02389_html_a0fc18e13d70825938274e3faf7b55e01"><div class="ttname"><a href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">OpenMesh::PolyMeshT::VertexHandle</a></div><div class="ttdeci">Kernel::VertexHandle VertexHandle</div><div class="ttdoc">Handle for referencing the corresponding item. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:136</div></div>
<div class="ttc" id="a02489_html_a13a27eb1994c2e288f404f5305834c3e"><div class="ttname"><a href="a02489.html#a13a27eb1994c2e288f404f5305834c3e">OpenMesh::TriMeshT::TriMeshT</a></div><div class="ttdeci">TriMeshT()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:168</div></div>
<div class="ttc" id="a02489_html_af27eab7f97150e60d70e43a96ba1e6a4"><div class="ttname"><a href="a02489.html#af27eab7f97150e60d70e43a96ba1e6a4">OpenMesh::TriMeshT::split_copy</a></div><div class="ttdeci">SmartVertexHandle split_copy(EdgeHandle _eh, const Point &amp;_p)</div><div class="ttdoc">Edge split (= 2-to-4 split) </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:289</div></div>
<div class="ttc" id="a02489_html_a08fd303acc36c2fc4e6bbb1e96b49dd7"><div class="ttname"><a href="a02489.html#a08fd303acc36c2fc4e6bbb1e96b49dd7">OpenMesh::TriMeshT::split</a></div><div class="ttdeci">void split(FaceHandle _fh)</div><div class="ttdoc">Face split (= 1-to-4) split, splits edges at midpoints and adds 4 new faces in the interior)...</div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:350</div></div>
<div class="ttc" id="a02489_html"><div class="ttname"><a href="a02489.html">OpenMesh::TriMeshT</a></div><div class="ttdoc">Base type for a triangle mesh. </div><div class="ttdef"><b>Definition:</b> TriMeshT.hh:91</div></div>
<div class="ttc" id="a02389_html"><div class="ttname"><a href="a02389.html">OpenMesh::PolyMeshT</a></div><div class="ttdoc">Base type for a polygonal mesh. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:90</div></div>
<div class="ttc" id="a02389_html_af0d8129bf1a819c468c6edcb13b5203b"><div class="ttname"><a href="a02389.html#af0d8129bf1a819c468c6edcb13b5203b">OpenMesh::PolyMeshT::Color</a></div><div class="ttdeci">Kernel::Color Color</div><div class="ttdoc">Color type. </div><div class="ttdef"><b>Definition:</b> PolyMeshT.hh:116</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
